# Page Extension
Enables or disables the page extension validation on a SharePoint site by processing rows from an Excel file.
Filename pattern: filename must contain PageExtension (case-insensitive).
Example: 20240115 PageExtension enable.xlsx
# Columns
| Name | Required | Description |
|---|---|---|
| ClientCode | No | Client code used together with MatterCode to identify the matter. |
| MatterCode | Conditional | Matter code used to resolve the site URL from the matter list. Required when Url is not provided. |
| Url / SiteUrl | Conditional | Server-relative URL of the SharePoint site. Required when MatterCode is not provided. |
| Enabled / Enable | Yes | Boolean. true to enable page extension validation; false to disable it. |
Either Url or MatterCode must be provided. Enabled is always required.
# Behavior
The handler resolves the target site (from Url or MatterCode) and calls ValidatePageExtension with the provided boolean value.
# Related links
- Site Collection handler — create or configure site collections